home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 4
/
United Public Domain Gold 4.iso
/
fredfish
/
ff.0316.dms
/
ff.0316.adf
/
Vectors
/
Vectors.doc
< prev
next >
Wrap
Text File
|
1990-02-06
|
3KB
|
133 lines
Vectors Version 1.0/1.1
NNAAMMEE
vectors - look how fast the Amiga draws lines
SSYYNNOOPPSSIISS
vectors [?] <xsize> <ysize> <planes> <number>
DDEESSCCRRIIPPTTIIOONN
"Vectors" opens a viewport of <xsize> by <ysize> pixels,
with <planes> bits per pixel, and draws 10 passes of <num-
ber> vectors using optimized drawing routines. The drawing
times are measure in micro seconds and averaged. You can use
0 for <xsize> and/or <ysize>, the program then uses the size
of your workbench screen. Pal, Lace, Hires and Overscan are
supported and automatically selected if necessary, according
to the given sizes.
Each vector drawn as 4 distinctive word coordinates, and
eventually a color byte. These values are picked up ran-
domly.
It is interresting to see the speed differences when drawing
in different depths. Also, if you recompile this and try
some changes, you might be surprised to find out that not
loading the View considerably slows down the drawing, or
that using the -O (optimizer) option when compiling doesn't
help neither.
In a 704x282 viewport, we draw can draw about 2300-2400 per
second maximum. This raises to 2500 v/s for 640X400, to
over 5000 v/s for 320x200 and 10000 vectors per seconds can
be reached with a 100x100, 1 plane display.
EEXXAAMMPPLLEESS
vectors 0 0 1 1000
opens a viewport with the same size as the Workbench
screen, one plane deep (that's 2 colors) and draws 10
times 1000 vectors (fast).
vectors 100 100 5 100
opens a 100x100 low resolution display, and draws 10
times 100 vectors using 32 colors (slow).
Utilities Page 1 Amiga
Vectors Version 1.0/1.1
CCOOMMPPIILLIINNGG
This version should compile and link with Lattice 5.0 or
over. Use the provided makefile.
BBUUGGSS
Did you find one? Let me know!
AAUUTTHHOORR
Version 1.0 by Gauthier Groult, May 22, 1989.
Gauthier Groult
33, Blvd Saint Denis
92400 Courbevoie
France, Europe
Tel: (1) 47 89 09 54
EMail: groult@germinal.ibp.fr
Version 1.1 by Jean Michel Forgeas, June 2, 1989.
Vectors executable program and source code are public
domain.
Utilities Page 2 Amiga